﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using Procedure = DeltaFlex.Data.ConsProcedures.Concepte_Factura;

namespace DeltaFlex.Data
{
    public class Concepte_Factura
    {
        public Concepte_Factura()
        { }

        #region 
        public static void InsertarConcepte_Factura(int idFactura, int idAlbara)
        {
            SqlCommand cmd = new SqlCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = Procedure.SP_INSERTARCONCEPTE_FACTURA;

            cmd.Parameters.AddWithValue(Procedure.PARAMETE_IDFACTURA, idFactura);
            cmd.Parameters.AddWithValue(Procedure.PARAMETE_IDALBARA, idAlbara);

            Operacions_BD.Insertar(cmd);
        }
        #endregion

        #region
        #endregion

        #region
        #endregion

    }
}
